/**
 * 计算直播人数
 */
export function liveLookNum(value) {
	let num = parseInt(value)
	if (num < 9999) {
		return num
	}
	if (num < 999999) {
		return (num / 10000).toFixed(1).toString() + "万"
	}
	if (num < 99999999) {
		return (num / 1000000).toFixed(1).toString() + "百万"
	}
	if (num < 999999999) {
		return (num / 100000000).toFixed(1).toString() + "亿"
	}
}